<ion-view view-title="登陆页面">
    <ion-content padding="true">
        <div class="list">
            <label class="item item-input">
                <input type="text" id="account" placeholder="用户名">
            </label>
            <label class="item item-input">
                <input type="password" id="password" placeholder="密码">
            </label>
            <label class="item item-input" ng-click="login( )" style="padding: 6px 16px;">
                <a  class="btn btn-success col-xs-12">登录</a>
            </label>
        </div>
    </ion-content>
</ion-view>
<script type="text/javascript">
    //<![CDATA[
    try {
        if (!window.CloudFlare) {
            var CloudFlare = [{
                verbose: 0,
                p: 1419364062,
                byc: 0,
                owlid: "cf",
                bag2: 1,
                mirage2: 0,
                oracle: 0,
                paths: {
                    cloudflare: "/cdn-cgi/nexp/dok2v=1613a3a185/"
                },
                atok: "1fca8a26fb9678bbb4b5c54c34e227b9",
                petok: "da6017be29f01e13c800a4827955e25c0369462e-1420553962-1800",
                zone: "adbee.technology",
                rocket: "0",
                apps: {
                    "ga_key": {
                        "ua": "UA-49262924-2",
                        "ga_bs": "2"
                    }
                }
            }];
            ! function(a, b) {
                a = document.createElement("script"), b = document.getElementsByTagName("script")[0], a.async = !0, a.src = "//ajax.cloudflare.com/cdn-cgi/nexp/dok2v=919620257c/cloudflare.min.js", b.parentNode.insertBefore(a, b)
            }()
        }
    } catch (e) {};
    //]]>
</script>
<script type="text/javascript">
    /* <![CDATA[ */
    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-49262924-2']);
    _gaq.push(['_trackPageview']);
    (function() {
        var ga = document.createElement('script');
        ga.type = 'text/javascript';
        ga.async = true;
        //ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0];
        s.parentNode.insertBefore(ga, s);
    })();
    (function(b) {
        (function(a) {
            "__CF" in b && "DJS" in b.__CF ? b.__CF.DJS.push(a) : "addEventListener" in b ? b.addEventListener("load", a, !1) : b.attachEvent("onload", a)
        })(function() {
            "FB" in b && "Event" in FB && "subscribe" in FB.Event && (FB.Event.subscribe("edge.create", function(a) {
                _gaq.push(["_trackSocial", "facebook", "like", a])
            }), FB.Event.subscribe("edge.remove", function(a) {
                _gaq.push(["_trackSocial", "facebook", "unlike", a])
            }), FB.Event.subscribe("message.send", function(a) {
                _gaq.push(["_trackSocial", "facebook", "send", a])
            }));
            "twttr" in b && "events" in twttr && "bind" in twttr.events && twttr.events.bind("tweet", function(a) {
                if (a) {
                    var b;
                    if (a.target && a.target.nodeName == "IFRAME") a: {
                        if (a = a.target.src) {
                            a = a.split("#")[0].match(/[^?=&]+=([^&]*)?/g);
                            b = 0;
                            for (var c; c = a[b]; ++b)
                                if (c.indexOf("url") === 0) {
                                    b = unescape(c.split("=")[1]);
                                    break a
                                }
                        }
                        b = void 0
                    }
                    _gaq.push(["_trackSocial", "twitter", "tweet", b])
                }
            })
        })
    })(window);
    /* ]]> */
</script>
<script language="javascript">
    function listenEnter() {
        if(window.event.keyCode == 13){
            if (document.getElementById("login") != null){
                document.getElementById("login").click();
            }
        }
    }
</script>